Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(await-async-queries): add auto-fix #1077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

Copy link
Member

@y-hsgw y-hsgw commented Sep 7, 2025
edited
Loading

Checks

Changes

  • Add a fixer for the await-async-queries rule (add 'await ' before the async queries)
  • Update docs

Context

Fixes #914
also some of #202

Reference: #917

Copy link

codecov bot commented Sep 7, 2025
edited
Loading

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.44%. Comparing base (7ab7356) to head (834375b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@
## main #1077 +/- ##
==========================================
+ Coverage 96.41% 96.44% +0.02% 
==========================================
 Files 50 50 
 Lines 2679 2700 +21 
 Branches 1099 1107 +8 
==========================================
+ Hits 2583 2604 +21 
 Misses 96 96 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@Belco90 Belco90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Just a small nitpick.

Co-authored-by: Mario Beltrán <belco90@gmail.com>
Signed-off-by: Yukihiro Hasegawa <49516827+y-hsgw@users.noreply.github.com>
@Belco90 Belco90 merged commit 01165d9 into testing-library:main Sep 12, 2025
31 checks passed
Copy link

🎉 This PR is included in version 7.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@y-hsgw y-hsgw deleted the feature/add-fixer-for-await-async-queries branch September 12, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@Belco90 Belco90 Belco90 approved these changes

Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Make 'await-async-queries' rule auto-fixable
2 participants

AltStyle によって変換されたページ (->オリジナル) /